package edu.chinasoft.service;

import edu.chinasoft.domain.User;
import edu.chinasoft.mapper.UserMapper;

public
class UserServiceImp implements UserService {
    private UserMapper userMapper;
    @Override
    public
    void registerUser(User user) {
        UserMapper.insertTable(user);
    }

    public
    UserMapper getUserMapper() {
        return userMapper;
    }

    public
    void setUserMapper(UserMapper userMapper) {
        this.userMapper = userMapper;
    }
}
